﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="format-detection" content="telephone=yes">
    <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" type="text/css" href="${ctxStatic}/ajz/mobile/css/iconfont.css">
    <link type="text/css" rel="stylesheet" href="${ctxStatic}/ajz/mobile/css/sf.css"/>
    <link type="text/css" rel="stylesheet" href="${ctxStatic}/ajz/mobile/css/index.css"/>
    <link type="text/css" rel="stylesheet" href="${ctxStatic}/ajz/mobile/css/e_query.css"/>
    <link type="text/css" rel="stylesheet" href="${ctxStatic}/ajz/mobile/css/equerypage.css"/>
    <link type="text/css" rel="stylesheet" href="${ctxStatic}/ajz/mobile/css/add_baseinfo.css"/>
    <script type="text/javascript" src="${ctxStatic}/ajz/mobile/js/jquery.min.js"></script>
    <style type="text/css">
        .img_title img{
            margin-top:5%;margin-left: 15%;width: 70%;height: 84%;
        }
    </style>
</head>
<body>
<%
include("/layouts/search.html"){}
%>
<div class="e_querycontent">
    <div class="e_q_c_left">
        <ul>
            <h5>单位信息</h5>

            <li><i class="fontfamily icon_size Tin-user"></i><b><a href="javascript:;" id="" class="sa_line">${ajzHouseInfo.contactPerson}</a></b>
            </li>
            <li><i class="fontfamily icon_size Tin-dianhua1"></i><b>${ajzHouseInfo.contactPersonTel}</b></li>
            <li><i class="fontfamily icon_size Tin-ditu"></i><b><a href="javascript:;" id="address" class="sa_line">${ajzHouseInfo.addr}</a></b>
            </li>
        </ul>
    </div>

    <div class="hi_degbtnbar bgcolor">

        <a href="${ctx}/ajz/ajzHouseInfo/updateInfo?id=${ajzHouseInfo.id}" class="xgbtn_1">修改</a>
        <!--<a href="${ctx}/ajz/ajzHouseInfo/record?id=${ajzHouseInfo.id}&user=${user}" class="xcbtn_1">检查</a>-->
    </div>
    <div class="hi_degbtnbar bgcolor" >
        <a href="${ctx}/ajz/ajzHouseInfo/record?id=${ajzHouseInfo.id}&user=${user}&tableType=ajz_aqsc" class="xcbtn_1" style="font-size: 9px;margin-left: 10px;">安全生产</a>
        <a href="${ctx}/ajz/ajzHouseInfo/record?id=${ajzHouseInfo.id}&user=${user}&tableType=ajz_xf" class="xcbtn_1" style="font-size: 9px;margin-left: 10px;">消防</a>
        <a href="${ctx}/ajz/ajzHouseInfo/record?id=${ajzHouseInfo.id}&user=${user}&tableType=ajz_trq" class="xcbtn_1" style="font-size: 9px;margin-left: 10px;">天然气</a>
        <a href="${ctx}/ajz/ajzHouseInfo/record?id=${ajzHouseInfo.id}&user=${user}&tableType=ajz_yhq" class="xcbtn_1" style="font-size: 9px;margin-left: 10px;">液化气</a>
        <a href="${ctx}/ajz/ajzHouseInfo/record?id=${ajzHouseInfo.id}&user=${user}&tableType=ajz_spaq" class="xcbtn_1" style="font-size: 9px;margin-left: 10px;">食品安全</a>
    </div>
</div>


<%
for(entry in records){
var key = entry.key;
var value = entry.value;
%>

<div class="content_c">
    <%
    if(value.~size > 1){
    %>
    <i class="fontfamily Tin-icon-arrow-down table_photo_min_add_1 tp_1"></i>
    <i class="fontfamily Tin-shang table_photo_min_add_1 tp_2"></i>

    <%
    }
    %>
    <h4 class="cen_c_h4 tp_box_btn">${key}</h4>
    <div class="qe_libox">
        <%
        for(record in value){
        %>
        <a href="${ctx}/ajz/ajzRecordProcess/docScene?id=${record.id}&type=house&tableType=${record.tableType}">
            <%
            if(record.tableType == "ajz_aqsc"){
            %>
            <span class="equery_list_title">安全生产<em></em></span>
            <%
            }else if(record.tableType == "ajz_xf"){
            %>
            <span class="equery_list_title">消防<em></em></span>
            <%
            }else if(record.tableType == "ajz_trq"){
            %>
            <span class="equery_list_title">天然气<em></em></span>
            <%
            }else if(record.tableType == "ajz_yhq"){
            %>
            <span class="equery_list_title">液化气<em></em></span>
            <%
            }else if(record.tableType == "ajz_spaq"){
            %>
            <span class="equery_list_title">食品安全<em></em></span>
            <%
            }
            %>
            <strong>${ajzHouseInfo.chargePerson}</strong>
            <b style="font-size:10px;">${@DateUtils.formatDate(record.createDate,'yyyy年MM月dd日 hh:mm:ss')}</b>
            <p>
                ${record.opinion}
            </p>
            <%
            if(record.checkStatus == "1"){
            %>
            <i class="equery_list_a_r">待复查</i>
            <%
            }else if(record.checkStatus == "2"){
            %>
            <i class="equery_list_a_r">下责令</i>
            <%
            }else if(record.checkStatus == "3"){
            %>
            <i class="equery_list_a_r">无隐患</i>
            <%
            }
            %>
        </a>
        <%
        }
        %>
    </div>
</div>
<%
}
%>


<div id="navBox">
    <ul class="icon_box_btm_nav">
        <li><a href="${ctx}/ajz/ajzBaseinfo/index" class="nav_link_b"><b class="fontfamily">&#xe61d;</b><i>主页</i></a>
        </li>
        <li><a href="${ctx}/ajz/ajzBaseinfo/index?type=statistics" class=""><b class="fontfamily">&#xe63e;</b><i>统计</i></a>
        </li>
        <li><a href="${ctx}/ajz/ajzBaseinfo/index?type=chart" class=""><b class="fontfamily">&#xe903;</b><i>图表</i></a>
        </li>
        <li><a href="${ctx}/ajz/ajzBaseinfo/index?type=map" class=""><b class="fontfamily">&#xe634;</b><i>地图</i></a>
        </li>
    </ul>
</div>

<div id="bottom_margin_box"></div>
</body>
<script type="text/javascript" src="${ctxStatic}/ajz/mobile/js/flex.js"></script>
<script src="${ctxStatic}/ajz/mobile/js/sf.js"></script>
<script type="text/javascript" src="${ctxStatic}/ajz/mobile/js/search.js?Timestamp=${Timestamp}"></script>
</html>

